package com.example.demo.service;

import com.example.demo.entity.inventory;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface inventoryserviceInter {
    int updatenum(inventory i);
    int insertcommodity(inventory i);
    PageInfo<inventory> display(Integer pagenum, Integer pagesize);
    List<inventory> search(inventory i);
    int delete(inventory i);
    int update(inventory i);
    int minusnum(inventory i);
}
